﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package org.aswing {
    import flash.display.*;
    import org.aswing.geom.*;
    import org.aswing.graphics.*;

    public class AssetBackground implements GroundDecorator {

        protected var asset:DisplayObject;

        public function AssetBackground(_arg1:DisplayObject){
            this.asset = _arg1;
        }
        public function updateDecorator(_arg1:Component, _arg2:Graphics2D, _arg3:IntRectangle):void{
            this.asset.x = _arg3.x;
            this.asset.y = _arg3.y;
            this.asset.width = _arg3.width;
            this.asset.height = _arg3.height;
        }
        public function getDisplay(_arg1:Component):DisplayObject{
            return (this.asset);
        }

    }
}//package org.aswing 
